package com.demo.project_template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-08-21 11:53:54
 */
@Getter
@Setter
@TableName("t_user_gift")
@ApiModel(value = "UserGift对象", description = "")
public class UserGift implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private Long id;

    @ApiModelProperty("收礼用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("送礼用户id")
    @TableField("send_user_id")
    private Long sendUserId;

    @ApiModelProperty("礼物id")
    @TableField("gift_id")
    private Integer giftId;

    @ApiModelProperty("礼物名")
    @TableField("gift_name")
    private String giftName;

    @ApiModelProperty("礼物图片")
    @TableField("gift_picture")
    private String giftPicture;

    @ApiModelProperty("礼物价格")
    @TableField("gift_price")
    private BigDecimal giftPrice;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
